package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author WEN
 * @Date 2024/3/5 0005
 **/
@Data
@ApiModel("导出字段对象")
public class ExportFieldVo {
    @Valid
    @NotNull(message = "导出字段属性对象不能为空")
    @NotEmpty(message = "导出字段属性对象不能为空")
    @Size(min = 1, message = "导出字段属性至少要选择一个")
    @ApiModelProperty(value = "导出字段属性对象")
    private List<ExportFieldAttrVo> fieldAttrs;


}
